package com.xdf.docmanagementsystem.dao;

import org.springframework.stereotype.Repository;
import java.util.ArrayList;
import java.util.List;
import com.xdf.docmanagementsystem.entity.Duty;
/**
* @Description : 职务
* @Author : ZK
* @Date : 2020-06-19 18:48:28
*/
@Repository
public interface DutyMapper{
    int insert(Duty record);

    int insertSelective(Duty record);

    int multiInsert(List<Duty> list);

    int insertDumplicateKeyUpdate(Duty record);

    int updateByPrimaryKey(Duty record);

    int updateByPrimaryKeySelective(Duty record);

    int multiUpdate(List<Duty> list);

    int deleteByPrimaryKey(Integer id);

    Duty selectByPrimaryKey(Integer id);

    List<Duty> selectAll();

    List<Duty> selectByParam(Duty record);

}